import { pubRequire } from '@utils/appletPublic.js'
const baseUrl = '/business/business-all'
export function getEachList(params, callBack, errBack) {
  return pubRequire('get', `${baseUrl}`, params, callBack, errBack)
}

const base = '/business/ports'
export function getPort(params, callBack, errBack) {
  return pubRequire('get', `${base}`, params, callBack, errBack)
}

//获取各端详情

const detail = '/business/business-details'
export function getDetail(params, callBack, errBack) {
  return pubRequire('get', `${detail}`, params, callBack, errBack)
}
